Display screen or portion thereof with an icon



FIG. 1 is a front view of an embodiment of an display screen or portionthereof with an icon;

FIG. 2 is a front view of a second embodiment thereof;

FIG. 3 is a front view of a third embodiment thereof;

FIG. 4 is a front view of a fourth embodiment thereof;

FIG. 5 is a front view of a fifth embodiment thereof; and,

FIG. 6 is a front view of a sixth embodiment thereof.

The uneven broken line showing of the display screen or portion thereofforms no part of the claimed design. The broken line showing of aportion of the icon in FIGS. 1 and 2 form no part of the claimed design.

CLAIM The ornamental design for an icon for a display screen or aportion thereof with an icon, as shown and described.